﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Headlight.Infrastructure.Domain;

namespace Headlight.Infrastructure.UnitOfWork
{
    public interface IUnitOfWork
    {
        // Save pending changes to the data store.
        void Commit();

        // Repositories
        //IPersonsRepository Persons { get; }
        IRepository<Quote> Quote { get; }
        IRepository<Vehicle> Vehicle { get; }
        IRepository<Policy> Policy { get; }
        IRepository<Driver> Driver { get; }
        IRepository<Contact> Contact { get; }
        //IAttendanceRepository Attendance { get; }
    }
}

